import { compact } from 'src/utils/lodash/Object'
/**
 * 字符串化
 */
export const stringify = (ojbect) => {
  let result = compact(ojbect)
  result = Object.keys(result).map(key => key + '=' + result[key]).join('&')
  return result
}
